//
//  JGTableViewCellModel.m
//  RYDatasourceDemo
////   Copyright © 2016年 AC-英特路. All rights reserved.
//  Created by JiaKang.Zhong on 16/4/22.
//

#import "JGTableViewCellModel.h"

@implementation JGTableViewCellModel

+ (instancetype)initWithImage:(UIImage *)image Title:(NSString *)title SubTitle:(NSString *)subTitle AccessoryImage:(UIImage *)accessoryImage andIdentifier:(NSString *)itemIdentifier{
    return [[self alloc] initWithImage:image Title:title SubTitle:subTitle AccessoryImage:accessoryImage andIdentifier:itemIdentifier];
}

- (instancetype)initWithImage:(UIImage *)image Title:(NSString *)title SubTitle:(NSString *)subTitle AccessoryImage:(UIImage *)accessoryImage andIdentifier:(NSString *)itemIdentifier{
    if (self = [super init]) {
        _itemIdentifier = itemIdentifier;
        _itemImage = image;
        _itemTitle = title;
        _itemSubtitle = subTitle;
        _itemAccessoryImage = accessoryImage;
    }
    return self;
}
@end
